#ifndef KGAMEMASTERGUI_H
#define KGAMEMASTERGUI_H

#include <QVariant>
#include <QtCore/QVariant>
#include <QtGui>
#include "kgmtoolbutton.h"
#include "kgmtreewidget.h"

class KGameMasterGui : public QMainWindow {

	Q_OBJECT

public:
    KGameMasterGui(QWidget* parent = 0);

private slots:
	virtual void newFile();

private:
	void createActions();
	void createCentralWidget();
	void createMenuBar();
	void createStatusBar();
	void createToolBar();

	void createPlacesDock();
	void createCharactersDock();
	void createObjectsDock();
	void createPropertiesDock();
	void createTextDock();
	void createConnections();

	void retranslateUi();

protected:

    KGMToolButton *btnTown;
    KGMToolButton *btnDungeon;
    KGMToolButton *btnRoom;
    
    QAction *actionNew;
    QAction *actionClose;

	QWorkspace *centralwidget;

    QMenuBar *menubar;
    QMenu *menuFile;
    QMenu *menuEdit;
	QMenu *menuView;
	QMenu *menuHelp;

    QStatusBar *statusbar;
	QToolBar *toolBar;	

    QDockWidget *dockText;
    QDockWidget *dockPlaces;
    QDockWidget *dockCharacters;
    QDockWidget *dockObjects;
    QDockWidget *dockProperties;

    //QTreeWidget *treePlaces;
    //QTreeWidget *treeCharacters;
    //QTreeWidget *treeObjects;
   	KGMTreeWidget *treePlaces;
    KGMTreeWidget *treeCharacters;
    KGMTreeWidget *treeObjects;
    QTextEdit *txtCodigo;
    QTabWidget *tabProperties;
    QWidget *tab;
    QWidget *tab_2;

};

#endif

